<?php
/**
 * Created by PhpStorm.
 * User: Kevin
 * Date: 2019/4/18
 * Time: 17:48
 */
namespace app\api\model;
use think\Model;
use think\Db;

class Type extends Model
{
    protected $name = 'product_model';

    // 开启自动写入时间戳
    protected $autoWriteTimestamp = false;

    public function member()
    {
        return $this->belongsTo('prod');
    }
}